From: Keir Fraser Date: Tue, 25 Jan 2011 14:05:25 +0000 (+0000) Subject: x86/tsc: remove misleading printk on HVM restore path. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~10889 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/%22bookmarks://%22/%22http:/www.example.com/cgi/%22https:/%22bookmarks:/%22?a=commitdiff_plain;h=6a1ea5dd5dfdbc97b2da1fefbf1fb1c609681126;p=xen.git x86/tsc: remove misleading printk on HVM restore path. This warning no longer corresponds to what the code actually does. Signed-off-by: Tim Deegan --- diff --git a/xen/arch/x86/hvm/save.c b/xen/arch/x86/hvm/save.c index bc1b51647c..f7b3b36e23 100644 --- a/xen/arch/x86/hvm/save.c +++ b/xen/arch/x86/hvm/save.c @@ -65,12 +65,7 @@ int arch_hvm_load(struct domain *d, struct hvm_save_header *hdr) if ( hdr->gtsc_khz ) d->arch.tsc_khz = hdr->gtsc_khz; if ( d->arch.vtsc ) - { hvm_set_rdtsc_exiting(d, 1); - gdprintk(XENLOG_WARNING, "Domain %d expects freq %uMHz " - "but host's freq is %luMHz: trap and emulate rdtsc\n", - d->domain_id, hdr->gtsc_khz / 1000, cpu_khz / 1000); - } /* VGA state is not saved/restored, so we nobble the cache. */ d->arch.hvm_domain.stdvga.cache = 0;